home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / text / hyper / hsc_source.lha / hsc / source / hscprj / pdebug.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  528b  |  31 lines

  1. /*
  2.  * hscprj/pdebug.h
  3.  *
  4.  * debugging defines for hsc's project-functions
  5.  */
  6.  
  7. #ifndef HSCPRJ_PDEBUG_H
  8. #define HSCPRJ_PDEBUG_H
  9.  
  10. #include "hsclib/ldebug.h"
  11.  
  12. /* this debugging info is displayed only
  13.  * if the  switch "-debug" has been enabled
  14.  */
  15.  
  16. /* debugging control */
  17. #define DEBUG_PRJ 1
  18.  
  19. /* debugging define */
  20. #if (DEBUG & DEBUG_PRJ)
  21. #define DP(x) if ( hp->debug ) x
  22. #else
  23. #define DP(x)                 /* nufin */
  24. #endif
  25.  
  26. /* debug message prefix for hscprj-modules */
  27. #define DHP "*hscprj* "
  28.  
  29. #endif /* HSCPRJ_PDEBUG_H */
  30.  
  31.